
#delimit;
global MY_OUT_PATH  "[path where your master data set is stored]"; 
global MY_TEMP_PATH "[path where your temporary files are stored]";
global MY_FIGURE_PATH "[path where your figures and corresponding data sets are stored]";


clear;
clear matrix;
 
set memory 500m; 
set dp comma, permanently;
set more off;
cap log close;  
use  "${MY_OUT_PATH}wagegini_p9950.dta", clear;

merge 1:1 year using "${MY_OUT_PATH}HHearningOECDgini.dta";

label var wagegini_work "Lohn";
label var wagegini_incl "Lohn inkl. Arbeitslose";
label var HHearningOECDgini "Haushaltsarbeitseinkommen";
label var year "Jahr";

graph twoway line wagegini_work  HHearningOECDgini wagegini_incl year ,
xline(1990.5, lcolor(black))
xlabel(1984(4)2013)
ytitle("Gini-Koeffizient")
ylabel(0.2(0.05)0.4, format(%4.2f)) 
lwidth(medthick medthick medthick) lpattern(solid solid dash) lcolor(black gs10 black)
title("Gini-Koeffizient");
graph save "${MY_FIGURE_PATH}HHearningOECDgini_inkl", replace;
graph export "${MY_FIGURE_PATH}HHearningOECDgini_inkl.ps", replace;
more;

